package com.ils.web.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.context.request.WebRequest;

//import com.ils.persistence.service.UserDto;

@Controller
public class PagesController {
    private final Logger LOGGER = LoggerFactory.getLogger(getClass());

	@RequestMapping(value = "/about", method = RequestMethod.GET)
    public String showAbout(WebRequest request, Model model) {
        LOGGER.debug("Rendering about page.");
//        UserDto accountDto = new UserDto();
//        model.addAttribute("user", accountDto);
        return "about";
    }
	
	@RequestMapping(value = "/help", method = RequestMethod.GET)
    public String showHelp(WebRequest request) {
        LOGGER.debug("Rendering help page.");
//        UserDto accountDto = new UserDto();
//        model.addAttribute("user", accountDto);
        return "help";
    }
}
